package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Xarea implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "辖区范围")
    private String name;

    @ApiModelProperty(value = "岗位类型")
    private String station;

    @ApiModelProperty(value = "坐标类型（点、线、面）")
    private String type;

    @ApiModelProperty(value = "大队名称")
    private String battalion;

    @ApiModelProperty(value = "中队名称")
    private String detachment;

    @ApiModelProperty(value = "岗位名称")
    private String gridding;

    @ApiModelProperty(value = "岗位等级")
    private String rank;

    @ApiModelProperty(value = "1：白天 2：夜巡")
    private String conment;

    @ApiModelProperty(value = "中心点")
    private String centre;

    @ApiModelProperty(value = "岗位坐标")
    private String gps;

    @ApiModelProperty(value = "给长峰科技传输岗位生成的标识，不用管")
    private String rwid;

    @ApiModelProperty(value = "中队id")
    private Integer sectionZid;

    @ApiModelProperty(value = "大队id")
    private Integer sectionDid;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "统计标识")
    private Integer whether;
    @ApiModelProperty(value = "勤务模式")
    private Integer pattern;
    @ApiModelProperty(value = "民警人数")
    private Integer police;
    @ApiModelProperty(value = "辅警人数")
    private Integer auxiliary;
    @ApiModelProperty(value = "区域限制")
    private String areaLimit;
    @ApiModelProperty(value = "地理位置")
    private String mapLocation;
    @ApiModelProperty(value = "高峰岗位")
    private String post;

    @ApiModelProperty(value = "岗位代码")
    private Integer postCode;

    //应到人员
    @TableField(exist = false)
    private List<Staff> staff;

    @TableField(exist = false)
    private List<Map> user;

    @TableField(exist = false)
    @ApiModelProperty(value = "修改者")
    private String updateBy;


}